using System;
using Microsoft.SPOT;
using Netduino4Fun.Framework.Log;

namespace Netduino4Fun.DesktopAssistant.Netduino.Communication
{
    public class PCAppender : IAppender
    {
        private Connection connection;

        public PCAppender(Connection connection)
        {
            this.connection = connection;
        }

        public void Write(string message)
        {
            this.connection.WriteLine("LOG : " + message);
        }
    }
}
